$(document).ready(function() {
	$("#demo").validate({
		rules:{
			"courseFileSrcPublic.courseFileName": {
				required: true,
	    		maxlength: 30
			},
			"courseFileSrcPublic.courseFileRemark":{
				required: false,
	    		maxlength: 500
			},
			"courseFileSrcPublic.courseId":{
				required: true
			},
			"courseFileSrcPublic.courseFileCategoryId":{
				required: true
			}
		}
	});
});